﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;

namespace BathhouseService.Models.SqlModels
{
    /// <summary>
    /// 用户拥有服务
    /// </summary>
    public class ServiceAcquired: PersistPoco
    {
        [Key]
        public new int ID { get; set; }
        /// <summary>
        /// 项目
        /// </summary>
        public int ValueAddedServicesId { get; set; }
        public ValueAddedServices ValueAddedServices { get; set; }
        /// <summary>
        /// 剩余次数
        /// </summary>
        public int RemainingTimes { get; set; }
        /// <summary>
        /// 用户
        /// </summary>
        public Guid FrameworkUserBaseId { get; set; }
        public FrameworkUserBase FrameworkUserBase { get; set; }
        /// <summary>
        /// 上次办理服务
        /// </summary>
        public int LastService { get; set; }


    }
}
